import { httpPost, httpGet } from '@/utils/fetch'


/* 名酒专区 start */
//获取热门搜索
export function getHotSearch(params) {
    return httpPost({
        url: '/api/sku/hotSearch',
        method: 'POST',
        data: params
    })
}

//商城分类
export function getCatLists(params) {
    return httpPost({
        url: '/api/cat/lists',
        method: 'POST',
        data: params
    })
}
//列表页搜索
export function getSkuLists(params) {
    return httpPost({
        url: '/api/sku/lists',
        method: 'POST',
        data: params
    })
}
//获取商品详情
export function getSkuInfo(params) {
    return httpPost({
        url: '/api/sku/info',
        method: 'POST',
        data: params
    })
}

/* 名酒专区 end */

/* 场景定制 start */
// 场景定制列表
export function getSceneCustomizationList(params) {
  return httpPost({
      url: '/api/SceneCustomization/list',
      method: 'POST',
      data: params
  })
}
// 场景定制商品列表
export function getSceneCustomizationGoodsList(params) {
  return httpPost({
      url: '/api/SceneCustomization/goodsList',
      method: 'POST',
      data: params
  })
}
// 场景定制商品详情
export function getSceneCustomizationDetail(params) {
  return httpPost({
      url: '/api/SceneCustomization/detail',
      method: 'POST',
      data: params
  })
}
// 预约定制
export function getSceneCustomizationCustomize(params) {
  return httpPost({
      url: '/api/SceneCustomization/customize',
      method: 'POST',
      data: params
  })
}
// 自定义定制
export function getSceneCustomizationCustomCustomize(params) {
  return httpPost({
      url: '/api/SceneCustomization/customCustomize',
      method: 'POST',
      data: params
  })
}
/* 场景定制 end */